package com.settlement.system.model.entity.common;

import java.io.Serializable;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 订单来源信息表
 * @author xiaochuang
 * @since 2020-06-17
 */
@Data
@ExcelIgnoreUnannotated
@HeadStyle(fillBackgroundColor = 9,fillForegroundColor = 9)
@HeadRowHeight(value = 20)
@HeadFontStyle(fontHeightInPoints = 14)
public class TblOrderSourceInfo extends BaseModel implements Serializable {


    /**
     * 名称
     */
    @ExcelProperty(value = "名称")
    @ApiModelProperty(value = "名称")
    private String name;

    /**
     * 编号 (格式：FXPT-XIJIE-XIJIE_JINGDONG)
     */
    @ExcelProperty(value = "编号 (格式：FXPT-XIJIE-XIJIE_JINGDONG)")
    @ApiModelProperty(value = "编号 (格式：FXPT-XIJIE-XIJIE_JINGDONG)")
    private String no;

    /**
     * 级别:1-第一级,2-第二级,3-第三级
     */
    @ExcelProperty(value = "级别:1-第一级,2-第二级,3-第三级")
    @ApiModelProperty(value = "级别:1-第一级,2-第二级,3-第三级")
    private Integer lvl;

    /**
     * 排序:1,2,3,4,5
     */
    @ExcelProperty(value = "排序:1,2,3,4,5")
    @ApiModelProperty(value = "排序:1,2,3,4,5")
    private Integer sort;

    /**
     * 状态:1-未删除,0-已删除
     */
    @ExcelProperty(value = "状态:1-未删除,0-已删除")
    @ApiModelProperty(value = "状态:1-未删除,0-已删除")
    private Integer delFlag;

    /**
     * 订单来源类型
     */
    @ExcelProperty(value = "订单来源类型")
    @ApiModelProperty(value = "订单来源类型")
    private Integer sourceType;

    /**
     * POS类型
     */
    @ExcelProperty(value = "POS类型")
    @ApiModelProperty(value = "POS类型")
    private Integer posType;

    /**
     * 父编号
     */
    @ExcelProperty(value = "父编号")
    @ApiModelProperty(value = "父编号")
    private String parentNo;

    /**
     * app_id
     */
    @ExcelProperty(value = "app_id")
    @ApiModelProperty(value = "app_id")
    private String appId;

    /**
     * app_key
     */
    @ExcelProperty(value = "app_key")
    @ApiModelProperty(value = "app_key")
    private String appKey;

    /**
     * 所属公司
     */
    @ExcelProperty(value = "所属公司")
    @ApiModelProperty(value = "所属公司")
    private String belongCompany;

    /**
     * 商家编码
     */
    @ExcelProperty(value = "商家编码")
    @ApiModelProperty(value = "商家编码")
    private String merchantCode;

    /**
     * 每个来源的发货时效，时间单位：小时
     */
    @ExcelProperty(value = "每个来源的发货时效，时间单位：小时")
    @ApiModelProperty(value = "每个来源的发货时效，时间单位：小时")
    private Integer deliveryValidatePeriod;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public Integer getLvl() {
        return lvl;
    }

    public void setLvl(Integer lvl) {
        this.lvl = lvl;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getSourceType() {
        return sourceType;
    }

    public void setSourceType(Integer sourceType) {
        this.sourceType = sourceType;
    }

    public Integer getPosType() {
        return posType;
    }

    public void setPosType(Integer posType) {
        this.posType = posType;
    }

    public String getParentNo() {
        return parentNo;
    }

    public void setParentNo(String parentNo) {
        this.parentNo = parentNo;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getBelongCompany() {
        return belongCompany;
    }

    public void setBelongCompany(String belongCompany) {
        this.belongCompany = belongCompany;
    }

    public String getMerchantCode() {
        return merchantCode;
    }

    public void setMerchantCode(String merchantCode) {
        this.merchantCode = merchantCode;
    }

    public Integer getDeliveryValidatePeriod() {
        return deliveryValidatePeriod;
    }

    public void setDeliveryValidatePeriod(Integer deliveryValidatePeriod) {
        this.deliveryValidatePeriod = deliveryValidatePeriod;
    }

}
